package com.ytkj.digitalConstruction.httpbean.role.reqbean;

import java.util.List;
import javax.validation.constraints.NotNull;

/**
 * 保存角色权限
 * @author 张重阳
 *
 */
public class SaveRolePermission {
	
	/**
	 * 权限列表
	 */
	private List<Integer> permissionList;
	
	/**
	 * 角色Id
	 */
	@NotNull(message = "保存类型不能为空")
	private Integer roleId;

	public List<Integer> getPermissionList() {
		return permissionList;
	}

	public void setPermissionList(List<Integer> permissionList) {
		this.permissionList = permissionList;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}
